/**
 * jims
 */
package com.jims.master.modules.oper.service;

import com.jims.master.modules.oper.dao.ClinicVsChargeDao;
import com.jims.master.modules.oper.entity.ClinicVsCharge;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jims.master.common.service.CrudService;

/**
 * 诊疗项目与价表对照Service
 * @author 赵宁
 * @version 2017-02-23
 */
@Service
@Transactional(readOnly = true)
public class ClinicVsChargeService extends CrudService<ClinicVsChargeDao, ClinicVsCharge> {

    @Autowired
    private ClinicVsChargeDao clinicVsChargeDao;

    @Transactional(readOnly = false)
    public int deleteByChargeId(ClinicVsCharge clinicVsCharge){
        return clinicVsChargeDao.deleteByChargeId(clinicVsCharge);
    }
	
}